* {
    box-sizing: border-box;
    outline: noen;
}

html {
    font-size: 13px;
}

body {
    margin: 0;
    font-family: sans-serif;
    background: #f1f1f1;
    overflow: hidden
}

a {
    color: #999;
}

h1,
p {
    margin: 0;
    padding: 0;
}

// color
$color: ("primary": #db9e3f,
    "white": #fff,
    "light": #f9f9f9,
    "grey": #999,
    "dark-1": #333,
    "dark": #222,
    "black": #000,
);

@each $colorKey,
$color in $color {
    .text-#{$colorKey} {
        color: $color;
    }

    .bg-#{$colorKey} {
        background-color: $color;
    }
}

// text
@each $var in (left, center, right) {
    .text-#{$var} {
        text-align: $var;
    }
}

//font-size
$base-font-size: 1rem;
$font-sizes: (xs: 0.7692,
    sm: 0.9231,
    md: 1,
    lg: 1.076,
    xl: 1.2308,
);

@each $sizeKey,
$size in $font-sizes {
    .fx-#{$sizeKey} {
        font-size: $size * $base-font-size;
    }
}

// flex
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

$flex-jc: (start: flex-start,
    end: flex-end,
    center: center,
    between: space-between,
    around: space-around,
);

@each $key,
$value in $flex-jc {
    .jc-#{$key} {
        justify-content: $value;
    }
}

$flex-ai: (start: flex-start,
    end: flex-end,
    center: center,
    stretch: stretch,
);

@each $key,
$value in $flex-ai {
    .ai-#{$key} {
        align-items: $value;
    }
}

.flex-1 {
    flex: 1;
}

.flex-grow-1 {
    flex-grow: 1;
}

// spacing
$spacing-types: (m: margin,
    p: padding,
);
$spacing-directions: (t: top,
    r: right,
    b: bottom,
    l: left,
);
$spacing-base-sizes: 1rem;
$spacing-sizes: (0: 0,
    1: 0.25,
    2: 0.5,
    3: 1,
    4: 1.5,
    5: 3,
);

@each $typeKey,
$type in $spacing-types {

    // .m-1
    @each $sizeKey,
    $size in $spacing-sizes {
        .#{$typeKey}-#{$sizeKey} {
            #{$type}: $size *$spacing-base-sizes;
        }
    }

    // .mx-1
    @each $sizeKey,
    $size in $spacing-sizes {
        .#{$typeKey}x-#{$sizeKey} {
            #{$type}-right: $size *$spacing-base-sizes;
            #{$type}-left: $size *$spacing-base-sizes;
        }
    }

    // .my-1
    @each $sizeKey,
    $size in $spacing-sizes {
        .#{$typeKey}y-#{$sizeKey} {
            #{$type}-top: $size *$spacing-base-sizes;
            #{$type}-bottom: $size *$spacing-base-sizes;
        }
    }

    // mt-1 
    @each $directionsKey,
    $directions in $spacing-directions {

        @each $sizeKey,
        $size in $spacing-sizes {
            .#{$typeKey}#{$directionsKey}-#{$sizeKey} {
                #{$type}-#{$directions}: $size *$spacing-base-sizes;
            }
        }
    }
}

// ul li
ul,
li {
    padding: 0;
    margin: 0;
    list-style: none
}
.module_content_set {
    border-radius: 4px;
    padding: 10px 10px 1px;
    background: #f0f2f5;
    margin: 0 auto 10px;
    width: 340px;
    .set_title {
      line-height: 30px;
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 10px;
    }
    .set_item {
      display: flex;
      min-height: 30px;
      margin-bottom: 20px;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      color: #9797a1;
      .set_label {
        min-width: 80px;
        margin-right: 5px;
        color: #595961;
      }
      .set_radio {
          flex:1;
          div{
              float: right;
          }
      }
    }
  }